package com.neusoft.SPNursingHome.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neusoft.SPNursingHome.po.MealCalendar;
import com.neusoft.SPNursingHome.po.MealCalendarWithFood;
import com.neusoft.SPNursingHome.po.ResponseBean;

import java.util.List;

public interface MealCalendarService {
    ResponseBean<List<MealCalendar>> listAll();
    ResponseBean<IPage<MealCalendarWithFood>> listWithFoodName(String mealCalendarDate,
                                                               String mealCalendarTime,
                                                               String foodName,
                                                               String foodType,
                                                               long page,
                                                               long size);
    ResponseBean<MealCalendar> getById(Integer id);
    ResponseBean<Void> create(MealCalendar mealCalendar);
    ResponseBean<Void> update(MealCalendar mealCalendar);
    ResponseBean<Void> deleteById(Integer id);
}
